<template>
  <web-view :src="url"></web-view>
</template>

<script>
export default {
  data() {
    return {
      url: "",
    };
  },
  async onLoad(options) {
	  if(options.url == "goToChat"){
		  this.url = "https://webchat-bj.clink.cn/chat.html?accessId=b36bdc2c-f829-4273-872a-e7c29f368096&language=zh_CN"
	  }else{
		  this.url = decodeURI(options.url);
	  }
  },
};
</script>